<span th:if="${sqrlEnabled}">
    <script type="text/javascript" th:inline="javascript">
        function jqueryReady() {
            head.load(
                /*[[@{/js/sqrl/sqrl.js}]]*/
            );
        }
    </script>

    <!-- <a th:href="'http://localhost:25519/' + ${sqrlUrlEncoded}"> -->
    <a th:href="${sqrlUrl}" th:title="${casServerUrl}">
        <img id="sqrlImg" th:title="${sqrlUrl}" th:src="@{'data:image/jpeg;base64,'+${sqrlImage}}"/>
    </a>
</span>
